package com.qeegoo.b2bautozityp.moudle.user.view;

import com.qeegoo.b2bautozityp.R;
import com.qeegoo.b2bautozityp.databinding.ActivityHelpBinding;
import com.qeegoo.b2bautozityp.injector.component.DaggerHelpComponent;
import com.qeegoo.b2bautozityp.moudle.base.AppBar;
import com.qeegoo.b2bautozityp.moudle.base.BaseActivity;
import com.qeegoo.b2bautozityp.moudle.user.viewmodel.HelpViewModel;

import javax.inject.Inject;

/**
 * Created by lining on 2017/9/27.
 */

public class HelpActivity extends BaseActivity<ActivityHelpBinding> {
    @Inject
    HelpViewModel mViewModel;

    @Override
    protected int attachLayoutRes() {
        return R.layout.activity_help;
    }

    @Override
    protected void initInjector() {
        DaggerHelpComponent.builder().appComponent(getAppComponent()).build().inject(this);
    }

    @Override
    protected void initViews() {

        initToolBar(mBinding.layoutToolbar, new AppBar("帮助中心", true));
        mBinding.setViewModel(mViewModel);
    }
}
